package nc.ui.cad.devforecast;

import nc.itf.capub.para.INCADBillType;
import nc.ui.cad.privatebtn.IFTButton;
import nc.ui.capub.baseui.BaseController;
import nc.ui.trade.businessaction.IBusinessActionType;
import nc.ui.trade.button.IBillButton;
import nc.vo.cad.devforecast.DevforecastAggVO;
import nc.vo.cad.devforecast.DevforecastBVO;
import nc.vo.cad.devforecast.DevforecastVO;

public class DevforecastCtrl extends BaseController {

	@Override
	public String getBillType() {
		return INCADBillType.CAD_DEVFORECAST;
	}

	@Override
	public String[] getBillVoName() {
		return new String[]{
				DevforecastAggVO.class.getName(),
				DevforecastVO.class.getName(),
				DevforecastBVO.class.getName()
		};
	}
	
	@Override
	public boolean isExistBillStatus() {
		return false;
	}
	
	public int getBusinessActionType() {
		return IBusinessActionType.BD;
	}
	
	@Override
	public int[] getCardButtonAry() {
		return new int[]{
				IBillButton.Edit,
				IBillButton.Delete, 
				IBillButton.Save, 
				IBillButton.Cancel,
                IBillButton.Return,
                IFTButton.ALLMIGRATE,
                IBillButton.Print,
                IBillButton.Refresh,
		};
	}

	@Override
	public int[] getListButtonAry() {
		return new int[]{
				IBillButton.Query,
				IBillButton.Add,
				IBillButton.Edit,
			    IFTButton.ALLMIGRATE,
				IBillButton.Card,
				IBillButton.Print,
				IBillButton.Refresh,
		};
	}

}

